package top.whysu.edevice.constant;

/**
 * app相关参数
 */
public class AppConstant {
    /**
     * 响应码
     */
    public static final class Code {
        /**
         * 请求成功码
         */
        public static final int RESULT_CODE_SUCCESS = 1;

        /**
         * 非法请求
         */
        public static final int RESULT_CODE_ILLEGAL_REQUEST = 10000;

        /**
         * 访问令牌过期
         */
        public static final int RESULT_CODE_ACCESS_TOKEN_EXPIRED = 10001;

        /**
         * 刷新令牌过期
         */
        public static final int RESULT_CODE_REFRESH_TOKEN_EXPIRED = 10002;

        /**
         * 帐号已存在
         */
        public static final int RESULT_CODE_ACCOUNT_EXIST = 10011;

        /**
         * 帐号未注册
         */
        public static final int RESULT_CODE_ACCOUNT_NO_REGISTER = 10012;
    }
}
